package Final;

import ch13.Sort;

/**
 * Created by 春旺 on 2017/10/10.
 */
public class SortTest {
    public static void main(String[] args) {
        Comparable[] arr = {90, 8, 7, 56, 123 ,235,9 ,1,653};
        Sort.selectionSort(arr);
        Comparable[] arr2 = {90, 8, 7, 56, 123 ,235,9 ,1,653};
        Sort.insertionSort(arr2);
        Comparable[] arr3 = {90, 8, 7, 56, 123 ,235,9 ,1,653};
        Sort.bubbleSort(arr3);
        Comparable[] arr4= {90, 8, 7, 56, 123 ,235,9 ,1,653};
        Sort.quickSort(arr4,0,8);
        Comparable[] arr5= {90, 8, 7, 56, 123 ,235,9 ,1,653};
        Sort.mergeSort(arr5,0,8);
    }
}
